package com.ruoze.bdp.function;

import com.ruoze.bdp.entity.datasource.BaseDataSourceParamDTO;
import com.ruoze.bdp.enums.DbType;

@Deprecated
public interface DataSourceProcessor {


    DbType getDbType();

    ConnectionParam createConnectionParams(String connectionJson);

    ConnectionParam createConnectionParams(BaseDataSourceParamDTO datasourceParam);

    BaseDataSourceParamDTO createDatasourceParamDTO(String connectionJson);

    BaseDataSourceParamDTO castDatasourceParamDTO(String paramJson);

    DataSourceProcessor create();

    String getDatasourceDriver();

    String getValidationQuery();


}
